package com.lala.commom.remote;

import com.lala.commom.pojo.Chapter;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface ChapterRemote {
    @RequestMapping("/zj")
    public List<Chapter> zj(@RequestParam("c")int c, @RequestParam("g")int g);
    @RequestMapping("/jzj")
    List<Chapter> jzj(@RequestParam("id") int id);

    @RequestMapping(value = "/chapterOne")
    List<Chapter> chapterOne(@RequestParam("kurseId") int kurseId);

}
